package com.hospital.payment.module.message;

import com.hospital.common.base.ThreadAttributes;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 订单超时消息
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class OrderTimeoutMessage implements Serializable {
    /**
     * 订单ID
     */
    private String orderId;
    /**
     * 订单类型
     */
    private Integer orderType;
    /**
     * 会话ID
     */
    private String sessionId;
    /**
     * 线程属性
     */
    private ThreadAttributes threadAttributes;
}
